<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>音频设置</title>
    <link type="text/css" href="/css/style.css" rel="stylesheet">
    <script type="text/javascript" src="/js/script.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            getAudioConfigInfo();
        }
    </script>
</head>

<body>
    <div style="padding: 20px; padding-top: 10px;">
        <form name="audioconfigform" action="/cgi-bin/htmlrequest.cgi" method="post">
            <input class="hide" name="HtmlName" value="audioconfig"></input>
            <div class="item title"><span>音频输入</span></div>
            <div style="height: 10px"></div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">音频输入</span>
                <span><select id="AudioInEnable" name="setAudioInEnable" style="width: 100px;">
                        <option value="0" selected="selected">关闭</option>
                        <option value="1">打开</option>
                    </select></span>
            </div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">输入增益</span>
                <span><select id="AiVolume" name="setAiVolume" style="width: 100px;">
                        <option value="-60" selected="selected">-60 dB</option>
                        <option value="-55">-55 dB</option>
                        <option value="-50">-50 dB</option>
                        <option value="-45">-45 dB</option>
                        <option value="-40">-40 dB</option>
                        <option value="-35">-35 dB</option>
                        <option value="-30">-30 dB</option>
                        <option value="-25">-25 dB</option>
                        <option value="-20">-20 dB</option>
                        <option value="-15">-15 dB</option>
                        <option value="-10">-10 dB</option>
                        <option value="-5">-5 dB</option>
                        <option value="0">0 dB</option>
                        <option value="5">5 dB</option>
                        <option value="10">10 dB</option>
                        <option value="15">15 dB</option>
                        <option value="20">20 dB</option>
                        <option value="25">25 dB</option>
                        <option value="30">30 dB</option>
                    </select></span>
            </div>
            <div class="item title"><span>音频输出</span></div>
            <div style="height: 10px"></div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">输出增益</span>
                <span><select id="AoVolume" name="setAoVolume" style="width: 100px;">
                        <option value="-60" selected="selected">-60 dB</option>
                        <option value="-55">-55 dB</option>
                        <option value="-50">-50 dB</option>
                        <option value="-45">-45 dB</option>
                        <option value="-40">-40 dB</option>
                        <option value="-35">-35 dB</option>
                        <option value="-30">-30 dB</option>
                        <option value="-25">-25 dB</option>
                        <option value="-20">-20 dB</option>
                        <option value="-15">-15 dB</option>
                        <option value="-10">-10 dB</option>
                        <option value="-5">-5 dB</option>
                        <option value="0">0 dB</option>
                        <option value="5">5 dB</option>
                        <option value="10">10 dB</option>
                        <option value="15">15 dB</option>
                        <option value="20">20 dB</option>
                        <option value="25">25 dB</option>
                        <option value="30">30 dB</option>
                    </select></span>
            </div>
            <div style="height: 30px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">高通滤波器</span>
                <span><select id="HpfStopFreq" name="setHpfStopFreq" style="width: 100px;">
                        <option value="0" selected="selected">关闭</option>
                        <option value="80">截至80Hz</option>
                        <option value="120">截至120Hz</option>
                        <option value="150">截至150Hz</option>
                    </select></span>
            </div>
            <div style="height: 10px"></div>
            <div style="height: 40px">
                <span class="item" style="width: 150px;display:inline-block;padding-left: 15px;">音频输出测试</span>
                <span><button class="btn btn-primary" type="button" onclick="ctlTestAudio()">
                        <span>点击测试</span>
                    </button></span>
            </div>
            <!-- <div style="height: 10px"></div>
            <div class="item title"><span>音频文件下载</span></div>
            <div style="height: 10px"></div>
            <div style="height: 40px">
                <span class="item" style="width: 80px;display:inline-block;padding-left: 15px;">音频文件1</span>
                <span><input id="AudioFile1" style="width: 260px;margin: 0 15px;" maxlength="32">
                    <input type="file" class="filebtn"
                        onchange="document.getElementById('AudioFile1').value = this.value;"></span>
                <span></span><button class="btn btn-primary" type="button">打开</button></span>
                <span><button class="btn btn-primary" type="button">下载</button></span>
            </div>-->

            <button class="btn btn-primary btn-save" type="button" onclick="submit()">
                <span class="img">&nbsp;</span>
                <span>保存</span>
            </button>
    </div>
    </form>
    </div>
</body>

</html>